package cn.com.niit.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 */
@Controller
public class MyContorller {
    @RequestMapping("/")
    public String index(){
        System.out.println("index method is called");
        return "index";
    }
    @RequestMapping("/liuyanyan")
    public String liuyanyan() {
        System.out.println("liuyanyan method is called");
        return "stuSexcount_liuyanyan";
    }
    @RequestMapping("/liyiming")
    public String liyiming() {
        System.out.println("liyiming method is called");
        return "semesterclass_liyiming";
    }
    @RequestMapping("/zhangyiting")
    public String zhangyiting() {
        System.out.println("zhangyiting method is called");
        return "class_zhangyiting";
    }
    @RequestMapping("/mengjiayi")
    public String mengjiayi() {
        System.out.println("mengjiayi method is called");
        return "semeter_mengjiayi";
    }
    @RequestMapping("/yangmingru")
    public String yangmingru() {
        System.out.println("yangmingru method is called");
        return "state_yangmingru";

    }
}
